<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <div class="prepend-5 span-10 append-2 last" style="height:20px;background-color:#FFFFFF"></div>
        <div class="prepend-5 span-10 append-2 last" style="height:20px;background-color:#23DBBC"><font color="white"><b>Lista de Alumnos</b></font></div>
        <div class="prepend-5 span-10 append-2 last" style="height:20px;background-color:#FFFFFF"></div>
        <div class="prepend-3 span-12 append-2 last" style="height:330px;overflow-y:scroll;">
        <table border="1">
            <tr style="background-color:#23DBBC;color:white;height:20px;"><th>Foto<th>Codigo<th>Nombre<th>Apellidos<th>Acciones</tr>
            <c:forEach items="${sessionScope.lista_alu}" var="la">                    
                <tr><td><img src="imgalu/${la["id_alumno"]}.jpg" width="80" height="100"/></td>
                    <td><font color="black">${la["alu_codigo"]}</font></td>
                    <td><font color="black">${la["alu_nombre"]}</font></td>
                    <td><font color="black">${la["alu_apellido"]}</font></td>
                    <td><a style="cursor:pointer" href="javascript:editarAlumno('srv_listar_un_alumno','dvprincipal','${la["alu_codigo"]}');"><img src="imagenes/editar.gif"></a> <a style="cursor:pointer" href="javascript:eliminarAlumno('srv_eliminarAlumno','dvprincipal','${la["alu_codigo"]}');" onclick="if (!confirm('Seguro que deseas Eliminar?')) return false"><img src="imagenes/eliminar.gif"></a></td>
                </tr>  
            </c:forEach>
        </table>
        </div>
    </body>
</html>